

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
    <style>
    /* base */
    html,
    body,
    .container {
      width: 100%;
      height: 100%;
    }

    a,
    a:link,
    a:visited {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    *,
    ::before,
    ::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    *:focus {
      outline: 0;
    }

    .container {
      display: flex;
      padding-top: 20px;
    }

    /* Nav */
    .container .doc-nav {
      position: fixed;
      height: 100%;
      margin: 0 30px 0 40px;
      width: 280px;
    }

    .doc-nav .nav-header {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      background-color: rgb(240, 241, 242);
      height: 40px;
      padding: 16px;
      font-size: 18px;
      font-weight: 500;
      color: rgb(62, 64, 66);
      cursor: pointer;
    }

    .doc-nav .nav-content {
      height: calc(100% - 40px);
      overflow-y: auto;
      color: rgb(32, 34, 36);
    }

    .doc-nav .nav-content .nav-list,
    .doc-nav .nav-content .nav-sub-list {
      line-height: 1.5rem;
    }

    .doc-nav .nav-content .nav-label {
      display: inline-block;
      position: relative;
      padding: 2px 0 2px 20px;
      margin-bottom: 4px;
    }

    .doc-nav .nav-content .nav-sub-label {
      position: relative;
      padding: 2px 0 2px 40px;
      font-size: 14px;
    }

    .doc-nav .nav-content .nav-sub-label:hover {
      text-decoration: underline;
    }

    .doc-nav .nav-content .nav-list .nav-label.group::before {
      border-bottom: 0.25rem solid transparent;
      border-left: 0.25rem solid #6e7072;
      border-right: 0;
      border-top: 0.25rem solid transparent;
      content: '';
      display: block;
      height: 0;
      left: 0.5rem;
      position: absolute;
      top: 0.625rem;
      transition: transform 0.1s linear;
      width: 0;
    }

    .doc-nav .nav-content .nav-list .nav-label.group.active::before {
      transform: rotate(90deg);
    }

    /* doc content */
    .container .doc-content {
      position: fixed;
      height: 100%;
      width: calc(100% - 80px - 40px - 30px - 240px);
      right: 0%;
      overflow-y: auto;
    }

    .doc-title {
      border-bottom: 1px solid #dcdee0;
      font-size: 22px;
      margin: 8px 0 0;
      padding-bottom: 16px;
    }

    .doc-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin: 24px 0;
    }

    .doc-content h4 {
      font-size: 22px;
      font-weight: 500;
      margin: 30px 0 8px;
    }

    .doc-content h4 span {
      color: #007d9c;
    }

    .doc-content .doc-declare {
      background-color: #fafafa;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
      overflow-x: auto;
      padding: 10px;
      tab-size: 4;
      line-height: 20px;
    }

    .doc-content .doc-comment {
      font-size: 16px;
      margin: 16px 0;
      line-height: 24px;
      word-break: break-word;
    }
  </style>

</head>
<body>
  <div class="container">
    <div class="doc-nav">
      <a href="#Documentation" class="nav-header">Documentation</a>
      <nav class="nav-content">
        <ul class="nav-list">
          <li>
            <a href="#includes" class="nav-label">Includes</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#config.h" class="nav-sub-label">config.h</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_CONFIG_FILE" class="nav-sub-label">MBEDTLS_CONFIG_FILE</a>
              </li>
      

              <li>
                <a href="#stddef.h" class="nav-sub-label">stddef.h</a>
              </li>
      

              <li>
                <a href="#stdint.h" class="nav-sub-label">stdint.h</a>
              </li>
      

              <li>
                <a href="#des_alt.h" class="nav-sub-label">des_alt.h</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#macros" class="nav-label">Macros</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#MBEDTLS_DES_H" class="nav-sub-label">MBEDTLS_DES_H</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_DES_ENCRYPT" class="nav-sub-label">MBEDTLS_DES_ENCRYPT</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_DES_DECRYPT" class="nav-sub-label">MBEDTLS_DES_DECRYPT</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_ERR_DES_INVALID_INPUT_LENGTH" class="nav-sub-label">MBEDTLS_ERR_DES_INVALID_INPUT_LENGTH</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_ERR_DES_HW_ACCEL_FAILED" class="nav-sub-label">MBEDTLS_ERR_DES_HW_ACCEL_FAILED</a>
              </li>
      

              <li>
                <a href="#MBEDTLS_DES_KEY_SIZE" class="nav-sub-label">MBEDTLS_DES_KEY_SIZE</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#functions" class="nav-label">Functions</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#mbedtls_des_init" class="nav-sub-label">mbedtls_des_init</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_free" class="nav-sub-label">mbedtls_des_free</a>
              </li>
      

              <li>
                <a href="#mbedtls_des3_init" class="nav-sub-label">mbedtls_des3_init</a>
              </li>
      

              <li>
                <a href="#mbedtls_des3_free" class="nav-sub-label">mbedtls_des3_free</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_key_set_parity" class="nav-sub-label">mbedtls_des_key_set_parity</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_key_check_key_parity" class="nav-sub-label">mbedtls_des_key_check_key_parity</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_key_check_weak" class="nav-sub-label">mbedtls_des_key_check_weak</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_setkey_enc" class="nav-sub-label">mbedtls_des_setkey_enc</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_setkey_dec" class="nav-sub-label">mbedtls_des_setkey_dec</a>
              </li>
      

              <li>
                <a href="#mbedtls_des3_set2key_enc" class="nav-sub-label">mbedtls_des3_set2key_enc</a>
              </li>
      

              <li>
                <a href="#mbedtls_des3_set2key_dec" class="nav-sub-label">mbedtls_des3_set2key_dec</a>
              </li>
      

              <li>
                <a href="#mbedtls_des3_set3key_enc" class="nav-sub-label">mbedtls_des3_set3key_enc</a>
              </li>
      

              <li>
                <a href="#mbedtls_des3_set3key_dec" class="nav-sub-label">mbedtls_des3_set3key_dec</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_crypt_ecb" class="nav-sub-label">mbedtls_des_crypt_ecb</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_crypt_cbc" class="nav-sub-label">mbedtls_des_crypt_cbc</a>
              </li>
      

              <li>
                <a href="#mbedtls_des3_crypt_ecb" class="nav-sub-label">mbedtls_des3_crypt_ecb</a>
              </li>
      

              <li>
                <a href="#mbedtls_des3_crypt_cbc" class="nav-sub-label">mbedtls_des3_crypt_cbc</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_setkey" class="nav-sub-label">mbedtls_des_setkey</a>
              </li>
      

              <li>
                <a href="#mbedtls_des_self_test" class="nav-sub-label">mbedtls_des_self_test</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#vars" class="nav-label">Vars</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#consts" class="nav-label">Consts</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#types" class="nav-label">Types</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#typedefs" class="nav-label">Typedefs</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#
mbedtls_des_context;
" class="nav-sub-label">
mbedtls_des_context;
</a>
              </li>
      

              <li>
                <a href="#
mbedtls_des3_context;
" class="nav-sub-label">
mbedtls_des3_context;
</a>
              </li>
      
            </ul>
            
          </li>
        </ul>
      </nav>
    </div>
    <div class="doc-content">
      <h2 id="Documentation" class="doc-title">Documentation</h2>
      <h3 id="includes">Includes</h3>
      

      <h4 id="config.h"><span>config.h</span></h4>
      <pre class="doc-declare"><code>#include "config.h"
</code></pre>
      <pre class="doc-comment">#include "config.h"
</pre>

      <h4 id="MBEDTLS_CONFIG_FILE"><span>MBEDTLS_CONFIG_FILE</span></h4>
      <pre class="doc-declare"><code>#include MBEDTLS_CONFIG_FILE
</code></pre>
      <pre class="doc-comment">#include MBEDTLS_CONFIG_FILE
</pre>

      <h4 id="stddef.h"><span>stddef.h</span></h4>
      <pre class="doc-declare"><code>#include &lt;stddef.h&gt;
</code></pre>
      <pre class="doc-comment">#include <stddef.h>
</pre>

      <h4 id="stdint.h"><span>stdint.h</span></h4>
      <pre class="doc-declare"><code>#include &lt;stdint.h&gt;
</code></pre>
      <pre class="doc-comment">#include <stdint.h>
</pre>

      <h4 id="des_alt.h"><span>des_alt.h</span></h4>
      <pre class="doc-declare"><code>#include "des_alt.h"
</code></pre>
      <pre class="doc-comment">#include "des_alt.h"
</pre>
      <h3 id="macros">Macros</h3>
      

      <h4 id="MBEDTLS_DES_H">Marco <span>MBEDTLS_DES_H</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_DES_H
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_DES_ENCRYPT">Marco <span>MBEDTLS_DES_ENCRYPT</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_DES_ENCRYPT    1
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_DES_DECRYPT">Marco <span>MBEDTLS_DES_DECRYPT</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_DES_DECRYPT    0
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_ERR_DES_INVALID_INPUT_LENGTH">Marco <span>MBEDTLS_ERR_DES_INVALID_INPUT_LENGTH</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_ERR_DES_INVALID_INPUT_LENGTH             -50 /**< The data input has an invalid length. */
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="MBEDTLS_ERR_DES_HW_ACCEL_FAILED">Marco <span>MBEDTLS_ERR_DES_HW_ACCEL_FAILED</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_ERR_DES_HW_ACCEL_FAILED                  -51 /**< DES hardware accelerator failed. */
</code></pre>
      <pre class="doc-comment">/* MBEDTLS_ERR_DES_HW_ACCEL_FAILED is deprecated and should not be used. */</pre>

      <h4 id="MBEDTLS_DES_KEY_SIZE">Marco <span>MBEDTLS_DES_KEY_SIZE</span></h4>
      <pre class="doc-declare"><code>#define MBEDTLS_DES_KEY_SIZE   8
</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="functions">Functions</h3>
      

      <h4 id="mbedtls_des_init">Func <span>mbedtls_des_init</span></h4>
      <pre class="doc-declare"><code>void mbedtls_des_init( mbedtls_des_context *ctx );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Initialize DES context
 *
 * \param ctx      DES context to be initialized
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des_free">Func <span>mbedtls_des_free</span></h4>
      <pre class="doc-declare"><code>void mbedtls_des_free( mbedtls_des_context *ctx );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Clear DES context
 *
 * \param ctx      DES context to be cleared
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des3_init">Func <span>mbedtls_des3_init</span></h4>
      <pre class="doc-declare"><code>void mbedtls_des3_init( mbedtls_des3_context *ctx );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Initialize Triple-DES context
 *
 * \param ctx      DES3 context to be initialized
 */</pre>

      <h4 id="mbedtls_des3_free">Func <span>mbedtls_des3_free</span></h4>
      <pre class="doc-declare"><code>void mbedtls_des3_free( mbedtls_des3_context *ctx );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Clear Triple-DES context
 *
 * \param ctx      DES3 context to be cleared
 */</pre>

      <h4 id="mbedtls_des_key_set_parity">Func <span>mbedtls_des_key_set_parity</span></h4>
      <pre class="doc-declare"><code>void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Set key parity on the given key to odd.
 *
 *                 DES keys are 56 bits long, but each byte is padded with
 *                 a parity bit to allow verification.
 *
 * \param key      8-byte secret key
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des_key_check_key_parity">Func <span>mbedtls_des_key_check_key_parity</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Check that key parity on the given key is odd.
 *
 *                 DES keys are 56 bits long, but each byte is padded with
 *                 a parity bit to allow verification.
 *
 * \param key      8-byte secret key
 *
 * \return         0 is parity was ok, 1 if parity was not correct.
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des_key_check_weak">Func <span>mbedtls_des_key_check_weak</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des_key_check_weak( const unsigned char key[MBEDTLS_DES_KEY_SIZE] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Check that key is not a weak or semi-weak DES key
 *
 * \param key      8-byte secret key
 *
 * \return         0 if no weak key was found, 1 if a weak key was identified.
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des_setkey_enc">Func <span>mbedtls_des_setkey_enc</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des_setkey_enc( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          DES key schedule (56-bit, encryption)
 *
 * \param ctx      DES context to be initialized
 * \param key      8-byte secret key
 *
 * \return         0
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des_setkey_dec">Func <span>mbedtls_des_setkey_dec</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          DES key schedule (56-bit, decryption)
 *
 * \param ctx      DES context to be initialized
 * \param key      8-byte secret key
 *
 * \return         0
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des3_set2key_enc">Func <span>mbedtls_des3_set2key_enc</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des3_set2key_enc( mbedtls_des3_context *ctx,
                     const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Triple-DES key schedule (112-bit, encryption)
 *
 * \param ctx      3DES context to be initialized
 * \param key      16-byte secret key
 *
 * \return         0
 */</pre>

      <h4 id="mbedtls_des3_set2key_dec">Func <span>mbedtls_des3_set2key_dec</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des3_set2key_dec( mbedtls_des3_context *ctx,
                     const unsigned char key[MBEDTLS_DES_KEY_SIZE * 2] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Triple-DES key schedule (112-bit, decryption)
 *
 * \param ctx      3DES context to be initialized
 * \param key      16-byte secret key
 *
 * \return         0
 */</pre>

      <h4 id="mbedtls_des3_set3key_enc">Func <span>mbedtls_des3_set3key_enc</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des3_set3key_enc( mbedtls_des3_context *ctx,
                     const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Triple-DES key schedule (168-bit, encryption)
 *
 * \param ctx      3DES context to be initialized
 * \param key      24-byte secret key
 *
 * \return         0
 */</pre>

      <h4 id="mbedtls_des3_set3key_dec">Func <span>mbedtls_des3_set3key_dec</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des3_set3key_dec( mbedtls_des3_context *ctx,
                     const unsigned char key[MBEDTLS_DES_KEY_SIZE * 3] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Triple-DES key schedule (168-bit, decryption)
 *
 * \param ctx      3DES context to be initialized
 * \param key      24-byte secret key
 *
 * \return         0
 */</pre>

      <h4 id="mbedtls_des_crypt_ecb">Func <span>mbedtls_des_crypt_ecb</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des_crypt_ecb( mbedtls_des_context *ctx,
                   const unsigned char input[8],
                   unsigned char output[8] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          DES-ECB block encryption/decryption
 *
 * \param ctx      DES context
 * \param input    64-bit input block
 * \param output   64-bit output block
 *
 * \return         0 if successful
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des_crypt_cbc">Func <span>mbedtls_des_crypt_cbc</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des_crypt_cbc( mbedtls_des_context *ctx,
                   int mode,
                   size_t length,
                   unsigned char iv[8],
                   const unsigned char *input,
                   unsigned char *output );</code></pre>
      <pre class="doc-comment">/**
 * \brief          DES-CBC buffer encryption/decryption
 *
 * \note           Upon exit, the content of the IV is updated so that you can
 *                 call the function same function again on the following
 *                 block(s) of data and get the same result as if it was
 *                 encrypted in one call. This allows a "streaming" usage.
 *                 If on the other hand you need to retain the contents of the
 *                 IV, you should either save it manually or use the cipher
 *                 module instead.
 *
 * \param ctx      DES context
 * \param mode     MBEDTLS_DES_ENCRYPT or MBEDTLS_DES_DECRYPT
 * \param length   length of the input data
 * \param iv       initialization vector (updated after use)
 * \param input    buffer holding the input data
 * \param output   buffer holding the output data
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des3_crypt_ecb">Func <span>mbedtls_des3_crypt_ecb</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des3_crypt_ecb( mbedtls_des3_context *ctx,
                    const unsigned char input[8],
                    unsigned char output[8] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          3DES-ECB block encryption/decryption
 *
 * \param ctx      3DES context
 * \param input    64-bit input block
 * \param output   64-bit output block
 *
 * \return         0 if successful
 */</pre>

      <h4 id="mbedtls_des3_crypt_cbc">Func <span>mbedtls_des3_crypt_cbc</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des3_crypt_cbc( mbedtls_des3_context *ctx,
                    int mode,
                    size_t length,
                    unsigned char iv[8],
                    const unsigned char *input,
                    unsigned char *output );</code></pre>
      <pre class="doc-comment">/**
 * \brief          3DES-CBC buffer encryption/decryption
 *
 * \note           Upon exit, the content of the IV is updated so that you can
 *                 call the function same function again on the following
 *                 block(s) of data and get the same result as if it was
 *                 encrypted in one call. This allows a "streaming" usage.
 *                 If on the other hand you need to retain the contents of the
 *                 IV, you should either save it manually or use the cipher
 *                 module instead.
 *
 * \param ctx      3DES context
 * \param mode     MBEDTLS_DES_ENCRYPT or MBEDTLS_DES_DECRYPT
 * \param length   length of the input data
 * \param iv       initialization vector (updated after use)
 * \param input    buffer holding the input data
 * \param output   buffer holding the output data
 *
 * \return         0 if successful, or MBEDTLS_ERR_DES_INVALID_INPUT_LENGTH
 */</pre>

      <h4 id="mbedtls_des_setkey">Func <span>mbedtls_des_setkey</span></h4>
      <pre class="doc-declare"><code>void mbedtls_des_setkey( uint32_t SK[32],
                        const unsigned char key[MBEDTLS_DES_KEY_SIZE] );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Internal function for key expansion.
 *                 (Only exposed to allow overriding it,
 *                 see MBEDTLS_DES_SETKEY_ALT)
 *
 * \param SK       Round keys
 * \param key      Base key
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="mbedtls_des_self_test">Func <span>mbedtls_des_self_test</span></h4>
      <pre class="doc-declare"><code>int mbedtls_des_self_test( int verbose );</code></pre>
      <pre class="doc-comment">/**
 * \brief          Checkup routine
 *
 * \return         0 if successful, or 1 if the test failed
 */</pre>
      <h3 id="vars">Vars</h3>
      
      <h3 id="consts">Consts</h3>
      
      <h3 id="types">Types</h3>
      
      <h3 id="typedefs">Typedefs</h3>
      

      <h4 id="
mbedtls_des_context;
">Typedef <span>
mbedtls_des_context;
</span></h4>
      <pre class="doc-declare"><code>typedef struct mbedtls_des_context
{
   uint32_t sk[32];           /*!<  DES subkeys       */
}
mbedtls_des_context;
</code></pre>
      <pre class="doc-comment">/**
 * \brief          DES context structure
 *
 * \warning        DES is considered a weak cipher and its use constitutes a
 *                 security risk. We recommend considering stronger ciphers
 *                 instead.
 */</pre>

      <h4 id="
mbedtls_des3_context;
">Typedef <span>
mbedtls_des3_context;
</span></h4>
      <pre class="doc-declare"><code>typedef struct mbedtls_des3_context
{
   uint32_t sk[96];           /*!<  3DES subkeys      */
}
mbedtls_des3_context;
</code></pre>
      <pre class="doc-comment">/**
 * \brief          Triple-DES context structure
 */</pre>
    </div>
  </body>
</html>
            